package com.hkts.naturalgas.banner.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.banner.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yck
 * @since 2022-11-24
 */
public interface IBannerService extends IService<Banner> {

        /**
         *  分页查询
         * @param bootStrapTable
         * @param banner
         * @return
         */
        IPage<Banner> selectPage(Page<Banner> page, Banner banner);

        List<Banner> selectList(Banner banner);
        }